package com.wms.goods.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wms.common.annotation.Excel;
import com.wms.common.core.domain.BaseEntity;

/**
 * 货物管理对象 goods
 * 
 * @author 熊竹俊
 * @date 2025-01-16
 */
public class Goods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 货物ID */
    private Long id;

    /** 货名 */
    @Excel(name = "货名")
    private String name;

    /** 供应商ID */
    @Excel(name = "供应商ID")
    private Long supplierId;

    /** 价格 */
    @Excel(name = "价格")
    private Long price;

    /** 规格 */
    @Excel(name = "规格")
    private String specification;

    /** 包装 */
    @Excel(name = "包装")
    private String packaging;

    /** 仓库ID */
    @Excel(name = "仓库ID")
    private Long storageId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setSpecification(String specification) 
    {
        this.specification = specification;
    }

    public String getSpecification() 
    {
        return specification;
    }
    public void setPackaging(String packaging) 
    {
        this.packaging = packaging;
    }

    public String getPackaging() 
    {
        return packaging;
    }
    public void setStorageId(Long storageId) 
    {
        this.storageId = storageId;
    }

    public Long getStorageId() 
    {
        return storageId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("supplierId", getSupplierId())
            .append("price", getPrice())
            .append("specification", getSpecification())
            .append("packaging", getPackaging())
            .append("storageId", getStorageId())
            .toString();
    }
}
